﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Wyse.Server.Base
{
    /// <summary>
    /// Interface allowing to consume text messages
    /// </summary>
    public interface IMessageConsumer
    {
        /// <summary>
        /// Processes a message
        /// </summary>
        /// <param name="message"></param>
        void ConsumeMessage(byte[] message, int length);
    }
}
